package com.wusir.mapper;

import com.wusir.pojo.Teacher;

import java.util.List;

public interface TeacherMapper {
    //增加一个老师
    public void insertTeacher(Teacher teacher);
    //删除一个老师，通过id
    public void deleteTeacher(Integer id);
    //修改老师姓名
    public boolean updateTeacher(Teacher teacher);
    //查询全部老师
    public List<Teacher> selectTeacherAll();
    //通过id,查询一个老师
    public Teacher selectTeacherById(Integer id);
}

